cask 'editaro' do
  version '1.6.1'
  sha256 'a1fe9a2c3279a7632e0fb6e0e9239f08594fe5d6e6a2dbaa37e164516783e97e'

  # github.com/kkosuge/editaro/ was verified as official when first introduced to the cask
  url "https://github.com/kkosuge/editaro/releases/download/#{version}/Editaro-#{version}-mac.zip"
  appcast 'https://github.com/kkosuge/editaro/releases.atom'
  name 'Editaro'
  homepage 'https://editaro.com/'

  app 'Editaro.app'

  zap trash: '~/Library/ApplicationSupport/Editaro'
end
